#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#define PAI 3.1415927

int main()
{
    int n = 0;
    float x = 0.0;
    float y = 0.0;
    float area = 0.0;
    int z = 0;
    int i = 0;
    scanf("%d", &n);
    while(n--)
    {
        i++;
        if(scanf("%f %f", &x, &y))
        {
            area = (PAI/2)*(x*x+y*y);
            z = (int)(area/50)+1;
            printf("Property %d: This property will begin eroding in year %d.\n", i, z);
        }
    }
    printf("END OF OUTPUT.\n");
}
